package com.example.basecore.core;

import com.example.basecore.dto.Command;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author ycd0075
 * @date 2024-01-25 21:58
 */
@Inherited
@Component
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface CmdExecutorAnnotation {
    Class<? extends Command> command();
}
